package com.pinda.controller;

import com.pinda.dto.agencydto.AgencyAndAreaInfoDto;
import com.pinda.dto.agencydto.SubAgency;
import com.pinda.dto.returndto.R;
import org.springframework.web.bind.annotation.*;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * <p>
 * 机构业务范围表 前端控制器
 * </p>
 *
 * @author 
 * @since 2022-05-05
 */
@RestController
@RequestMapping("/agency")
public class AgencyScopeController {

    /**
     * 获得组织结构树
     * @return
     */
    @GetMapping("tree")
    public R<List<SubAgency>> getAgencyTree() {

        return null;

    }

    /**
     * 获得网点坐标相关信息
     */
    @GetMapping("scope")
    public AgencyAndAreaInfoDto getAgencyScope(String id) {

        return null;

    }

}
